//
//  SpecialTicketInfo.swift
//  AirlineReservation
//
//  Created by Kevin on 2020/2/9.
//  Copyright © 2020 Kevin. All rights reserved.
//

import UIKit

class SpecialTicketInfo: NSObject {
    
    @objc var city:String?
    @objc var endcity:String?
    @objc var picture:String?
    @objc var departdate:String?
    @objc var ticketprice:Int = 0
    @objc var flightnumberid:String?
    @objc var specialticketid:Int = 0
    
    init(dict:[String:Any]) {
        super.init()
        setValuesForKeys(dict)
    }
    
    override func setValue(_ value: Any?, forUndefinedKey key: String) {
        
    }
    
    override var description: String {
        return dictionaryWithValues(forKeys: ["city","endcity","picture","ticketprice","flightnumberid","specialticketid","departdate"]).description
    }
}
